package com.github.niefy.modules.wx.entity;

import me.chanjar.weixin.mp.bean.template.WxMpTemplateData;

public class WxMpTemplateDataEx extends WxMpTemplateData {

    private String label;

    public void WxMpTemplateData(String name, String value, String color, String label) {
        super.setName(name);
        super.setValue(value);
        super.setColor(color);
        this.label = label;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    @Override
    public String toString() {
        return "{name:" + super.getName() + ", value:" + super.getValue() + ", color:" + super.getColor() + ", label:" + this.getLabel() +"}";
    }
}
